package com.hongding.sealcenter.enums;

/**
 * 全局枚举提示信息
 *
 */
public enum GlobeCodeEnum {
    NO_LOGIN("NO_LOGIN","未登录"),
    NO_ROLE("NO_ROLE","没有角色权限"),
    NO_PERMISSION("NO_PERMISSION","没有操作权限");

    private String key;

    private String name;

    GlobeCodeEnum(String key, String name) {
        this.key = key;
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
